import React, { Component } from 'react';
import { Card } from 'antd';
import UserDetailEditor from './UserDetailEditor';
import {FormattedMessage} from "react-intl";
import {withRouter} from "react-router-dom";

class UserInfo extends Component {
    render() {
        return (
            <Card noHovering={true} title={<FormattedMessage id='个人详情' />} id="user-info">
                <UserDetailEditor />
            </Card>
        )
    }
}

export default withRouter(UserInfo)